package Tutorial1;

/**
 * Created with IntelliJ IDEA.
 * User: Bjarke
 * Date: 13-10-13
 * Time: 22:30
 * To change this template use File | Settings | File Templates.
 */
public class Dog extends Animal{

    public Dog() {
        super();

        setSound("Bark");
    }

    public void digHole(){
        System.out.println("Dig a hole");
    }

    public void changeVar(int randNum){

        randNum = 12;
        System.out.println("randNum in method: " + randNum);
    }
}

